package com.operate.api.operate.dramas.domain.po;

import com.operate.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "video")
public class VideoPO extends BaseEntity {


    /**
     * 商户ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 剧目ID
     */
    @Column(name = "drama_id")
    private String dramaId;

    /**
     * 视频集数
     */
    @Column(name = "video_gather")
    private Integer videoGather;

    /**
     * 视频名称
     */
    @Column(name = "video_name")
    private String videoName;

    /**
     * 视频价格
     */
    @Column(name = "video_price")
    private BigDecimal videoPrice;

    /**
     * 视频状态  1 已选取 2 未选取
     */
    @Column(name = "video_state")
    private Integer videoState;

    /**
     * 转码状态  1 已转码 2 未转码
     */
    @Column(name = "video_transcoding_state")
    private Integer videoTranscodingState;

    /**
     * 视频原地址地址
     */
    @Column(name = "video_old_url")
    private String videoOldUrl;

    /**
     * 视频转码后播放地址
     */
    @Column(name = "video_url")
    private String videoUrl;

    @Column(name = "video_rate")
    private BigDecimal videoRate;

    /**
     * 视频点赞数量
     */
    @Column(name = "video_like")
    private Long videoLike;

    /**
     * 视频播放数量
     */
    @Column(name = "video_play")
    private Long videoPlay;

}